﻿namespace Sustainalytics.Portfolios.Service.Models
{
    using System;

    using Sustainalytics.Entities;

    public class SystemPortfolioDto : SystemPortfolioBaseDto
    {
        public DateTime DataCreated { get; set; }

        public DateTime? DateModified { get; set; }

        public Guid AddedByUserId { get; set; }

        public string AddedByUserName { get; set; }

        public string AddedByFullName { get; set; }

        public int CompanyCount { get; set; }

        public bool IsMyPortfolio { get; set; }

        public bool IsSystemPortfolio
        {
            get
            {
                return true;
            }
        }

        public bool IsReadOnly { get; set; }

        public PortfolioSharingStatus SharingStatus { get; set; }

        public bool HasSubscription { get; set; }

        public string Details { get; set; }

        public RelateduniversesDto[] RelatedUniverses { get; set; }
    }
}
